package com.bg.sparkproject.pattern.adapter.clazz;

import com.bg.sparkproject.pattern.adapter.Ps2;
import com.bg.sparkproject.pattern.adapter.UsbImpl;

/**
 * @Auther: zhengshunzhi
 * @Date: 2019/1/3 17:57
 * @Description: 类适配器
 */
public class Apapter extends UsbImpl implements Ps2 {
    @Override
    public void isPs2() {
        isUsb();
    }

    public static void main(String[] args) {
        Ps2 p = new Apapter();
        p.isPs2();
    }
}
